package com.sl.biz.modular.job.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sl.common.pojo.CommonOrgEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;

/**
 * @author 公众号:知了一笑
 * @since 2023-07-26 11:04
 */
@Getter
@Setter
@TableName("job_config")
@Entity(name = "job_config")
public class JobConfigDO extends CommonOrgEntity {

    /**
     * 场景ID
     */
    private String groupId;

    /**
     * 产品Id
     */
    private String productId;
    /**
     * d调度名称
     */
    @Column
    private String jobName;

    /**
     * 调度编码
     */
    @Column
    private String jobCode;

    /**
     * 分类编码
     */
    @Column
    private String groupCode;

    /**
     * 描述
     */
    @Column
    private String jobDescription;


    /**
     * Bean名称
     */
    @Column
    private String beanName;

    /**
     * 执行参数
     */
    @Column
    private String params;

    /**
     * Cron表达式
     */
    @Column
    private String cron;

    /**
     * 任务状态：1正常，2暂停，3删除
     */
    @Column
    private String state;


}